package com.learn.project2.model.vo.wx.goods;

import com.learn.project2.bean.*;
import com.sun.org.apache.xpath.internal.operations.Bool;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * \* Author: Valley
 * \* Date: 2022/1/9
 * \* Time: 15:38
 * \* Description:
 */
@NoArgsConstructor
@Data
public class GoodsDetailVO2 {

    private List<Specification> specificationList;
    private List<MarketGrouponRules> groupon;
    private List<MarketIssue> issue;
    private Integer userHasCollect;
    private String shareImage;
    private CommentBean comment;
    private Boolean share;
    private List<MarketGoodsAttribute> attribute;
    private MarketBrand brand;
    private List<MarketGoodsProduct> productList;
    private MarketGoods info;

    @NoArgsConstructor
    @Data
    public static class CommentBean {

        private Integer count;
        private List<MarketComment> data;
    }

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class Specification{
        private String name;
        private List<MarketGoodsSpecification> valueList;
    }
}
